/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.openapi.weixin.pay.unifiedorder;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 商品信息
 * @author Moyq5
 * @since 2016年8月8日
 */
public class Goods {

	/**
	 * 商品的编号<br>
	 * 必填，最长32
	 */
	@JsonProperty("goods_id")
	private String goodsId;
	
	/**
	 * 微信支付定义的统一商品编号<br>
	 * 最长32
	 */
	@JsonProperty("wxpay_goods_id")
	private String wxpayGoodsId;
	
	/**
	 * 商品名称<br>
	 * 必填，最长256
	 */
	@JsonProperty("goods_name")
	private String goodsName;
	
	/**
	 * 商品数量<br>
	 * 必填
	 */
	@JsonProperty("goods_num")
	private Integer goodsNum;
	
	/**
	 * 商品单价，单位为分<br>
	 * 必填
	 */
	private Integer price;
	
	/**
	 * 商品类目ID<br>
	 * 最长32
	 */
	@JsonProperty("goods_category")
	private String goodsCategory;
	
	/**
	 * 商品描述信息<br>
	 * 最长1000
	 */
	private String body;

	/**
	 * @return the goodsId
	 */
	public String getGoodsId() {
		return goodsId;
	}

	/**
	 * @param goodsId the goodsId to set
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * @return the wxpayGoodsId
	 */
	public String getWxpayGoodsId() {
		return wxpayGoodsId;
	}

	/**
	 * @param wxpayGoodsId the wxpayGoodsId to set
	 */
	public void setWxpayGoodsId(String wxpayGoodsId) {
		this.wxpayGoodsId = wxpayGoodsId;
	}

	/**
	 * @return the goodsName
	 */
	public String getGoodsName() {
		return goodsName;
	}

	/**
	 * @param goodsName the goodsName to set
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/**
	 * @return the goodsNum
	 */
	public Integer getGoodsNum() {
		return goodsNum;
	}

	/**
	 * @param goodsNum the goodsNum to set
	 */
	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	/**
	 * @return the price
	 */
	public Integer getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Integer price) {
		this.price = price;
	}

	/**
	 * @return the goodsCategory
	 */
	public String getGoodsCategory() {
		return goodsCategory;
	}

	/**
	 * @param goodsCategory the goodsCategory to set
	 */
	public void setGoodsCategory(String goodsCategory) {
		this.goodsCategory = goodsCategory;
	}

	/**
	 * @return the body
	 */
	public String getBody() {
		return body;
	}

	/**
	 * @param body the body to set
	 */
	public void setBody(String body) {
		this.body = body;
	}
}
